<div class="post-meta">
  {{- if and (default true (default .Site.Params.postDate .Params.postDate)) -}}
  {{- $dateParams := dict "createdOn" .Date.Local -}}
  {{ if gt .Lastmod .Date }}
    {{- $dateParams = merge $dateParams (dict "updatedOn" .Lastmod.Local) -}}
  {{ end }}
  <span class="post-date" title="{{ i18n "post_date" $dateParams }}">
    {{ .Date | time.Format (default "Jan 2, 2006" $.Site.Params.dateFormat) }}
  </span>
  {{- end -}}
  {{- if and (default true (default .Site.Params.readingTime .Params.readingTime)) -}}
  <span class="post-reading-time">
    {{ i18n "reading_time" . }}
  </span>
  {{- end -}}
  <span class="post-taxonomies">
  {{- range $key, $value := .Site.Taxonomies -}}
    {{- range ($.GetTerms $key) -}}
    <a href="{{ .Permalink }}" class="badge post-taxonomy">{{ .Name }}</a>
    {{- end -}}
  {{- end -}}
  </span>
</div>
